fetch('../public/systemlog.json')
.then((response) => {
    if (response.ok) {
        return response.json()
    }
})
.then((data) => {    
    showOrder(data)
})
function showOrder(data) {
    data.forEach((data) => {
        let trEle = document.createElement('tr')
        trEle.innerHTML = 
        `
        <td>${data.id}</td>
        <td>${data.date}</td>
        <td>${data.title}</td>
        <td>${data.active}</td>
        `
        document.querySelector('.tbody-sys').appendChild(trEle)
    });
    
}